package dev.bong.mapper;

import dev.bong.annotation.AutoFill;
import dev.bong.dto.ScheduleDTO;
import dev.bong.enumeration.OperationType;
import dev.bong.pojo.entity.ClassSchedule;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author: bong~
 * @description: TODO
 * @date: 2024/4/14 11:24
 * @version: 1.0
 */

@Mapper
public interface ClassScheduleMapper {

    List<ClassSchedule> selectListBySemester(String semester);

    @AutoFill(OperationType.INSERT)
    void addSchedule(ClassSchedule classSchedule);
}
